var e = require;
var t = module;
var n = exports;
("use strict");
Object.defineProperty(n, "__esModule", { value: !0 }), (n.Event = void 0);
(o.prototype.on = function (e, t, n) {
    
  e = "" + this.prefix + e;
  cc.game.on(e, t, n);
}),
  (o.prototype.off = function (e, t, n) {
    e = "" + this.prefix + e;
    cc.game.off(e, t, n);
  }),
  (o.prototype.emit = function (e) {
    for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
    e = "" + this.prefix + e;
    cc.game.emit(e, t);
  }),
  (t = o);
function o() {
  this.prefix = "event_";
}
n.Event = new t();
